<?php
$projectlistview = elgg_list_entities_from_relationship(array(
		'relationship' => "doneproject",
		'relationship_guid' => elgg_get_logged_in_user_guid(),
		'type' => "object",
		'subtype' => "project",
		'limit' => 10,
		'pagination' => true,
		'selectable' => true,
));

$save_button = elgg_view ( 'input/submit', array (
		'value' => elgg_echo ( 'submana:addprojects:save' )
) );
$reset_button = elgg_view ( 'input/reset', array (
		'value' => elgg_echo ( 'submana:addprojects:reset' )
) );

echo <<<___HTML
	$projectlistview
	$save_button
	$reset_button
___HTML;

?>